import BaseRequest from '../utils/http-request'

const api = new BaseRequest()

export const getDy = (params?) =>
  api.get('/dynamic/all',params)

export const createDy = (params) =>
  api.post('/dynamic/create',params)

export const delDy = (params) =>
  api.post('/dynamic/del',params)

export const detailDy = (params) =>
  api.get('/dynamic/detail',params)
